﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<section id="content" role="main">

                <header>
                    <h1 id="admin-page-heading">Roles</h1>
                </header>
            
            <div class="content-container">
                

                <div class="content-body aui-panel">

<table class="jiraform jirapanel  maxWidth">

<tr>
    <td class="jiraformheader">

            <a class="help-lnk" href="https://docs.atlassian.com/jira/docs-051/Managing+Project+Roles" target="_jirahelp">
    
            
                
            
            <img src="/s/en_US-ah6l7v/782/3/_/images/icons/ico_help.png" width="16" height="16"
            
            
                
                    
                    
                        align=right
                    
                
            
            border="0" alt="Get help!"
            title="Get online help about Managing Project Roles"/></a>






    <h3 class="formtitle">Project Role Browser</h3>
        
    </td>
</tr>
    <tr>
    <td class="jiraformbody">

        <p>You can use project roles to associate users and/or groups with specific projects. The table below shows all the project roles that are available in JIRA. Use this screen to add, edit and delete project roles. You can also click 'View Usage' to see which projects, permission schemes and notification schemes are using project roles.</p>
    
    </td>
    </tr>


</table>

    
        <table class="aui aui-table-rowhover">
            <thead>
                <tr>
                    <th>
                        Project Role Name
                    </th>
                    <th>
                        Description
                    </th>
                    <th>
                        Operations
                    </th>
                </tr>
            </thead>
            <tbody> 
                <tr id="project-role-Administrators">
                    <td valign=top width="20%">
                        Administrators
                    </td>
                    <td>
                        A project role that represents administrators in a project
                    </td>
                    <td>
                        <ul class="operations-list">
                            <li>@Html.ActionLink("View Usage","ViewUsage","Role",new {id="view_Administrators"})</li>
                            <li>@Html.ActionLink("Manage Default Members", "ManageDefaultMembers", "Role", new { id = "manage_Administrators" })</li>
                            <li>@Html.ActionLink("Edit", "Edit", "Role", new { id = "edit_Administrators" })</li>
                            <li>@Html.ActionLink("Delete", "Delete", "Role", new { id = "delete_Administrators" })</li>
                        </ul>
                    </td>
                </tr>
                
                <tr id="project-role-Developers">
                    <td valign=top width="20%">
                        Developers
                    </td>
                    <td>
                        A project role that represents developers in a project
                    </td>
                    <td>
                        <ul class="operations-list">
                            <li>@Html.ActionLink("View Usage","ViewUsage","Role",new {id="view_Administrators"})</li>
                            <li>@Html.ActionLink("Manage Default Members", "ManageDefaultMembers", "Role", new { id = "manage_Developers" })</li>
                            <li>@Html.ActionLink("Edit", "Edit", "Role", new { id = "edit_Developers" })</li>
                            <li>@Html.ActionLink("Delete", "Delete", "Role", new { id = "delete_Developers" })</li>
                        </ul>
                    </td>
                </tr>
                
                <tr id="project-role-Users">
                    <td valign=top width="20%">
                        Users
                    </td>
                    <td>
                        A project role that represents users in a project
                    </td>
                    <td>
                        <ul class="operations-list">
                            <li>@Html.ActionLink("View Usage","ViewUsage","Role",new {id="view_Administrators"})</li>
                            <li>@Html.ActionLink("Manage Default Members", "ManageDefaultMembers", "Role", new { id = "manage_Users" })</li>
                            <li>@Html.ActionLink("Edit", "Edit", "Role", new { id = "edit_Users" })</li>
                            <li>@Html.ActionLink("Delete", "Delete", "Role", new { id = "delete_Users" })</li>
                        </ul>
                    </td>
                </tr>
                
            </tbody>
        </table>
    

<div class="module">
    
    <div class="mod-content">
        

<form action="AddProjectRole.jspa" method="post" name="jiraform" onsubmit="if (this.submitted) return false; this.submitted = true; return true"  >

	
	<table class="jiraform maxWidth"  >
	

	
	<tr class="titlerow">
		<td colspan="2" class="jiraformheader">
        
        <h3 class="formtitle">Add Project Role</h3>
        
        </td>
	</tr>
	
				<td class="fieldLabelArea"> Name </td>

	<td class="fieldValueArea" >
<input type="text"
       name="name"
         size="30"
/>
	</td>

</tr>
	<tr>
	<td class="fieldLabelArea"> Description </td>
	<td class="fieldValueArea" >


<input type="text"
       name="description"

      
         size="60"
     
/>

	</td>

</tr>

	<tr class="buttons-container">
    
        <td class="jiraformfooter">&nbsp;</td>
        <td colspan="1">
    
            <div class="buttons-container">
                <div class="buttons">
 
                    <input type="submit" name="Add Project Role" value="Add Project Role"
                       
                            id="role_submit"
                        

                    
                       accesskey="s"
                       title="Press Alt+Shift+s to submit form"
                    
                        
                        class="aui-button "
                        />
                
                </div>
            </div>
		</td>
	</tr>

	</table>


</form>
	
	
    <script language="javascript" type="text/javascript">
        jQuery(function () {
            AJS.$("form[name='jiraform'] :input:visible:first").focus();
        });
	</script>
	


        
    </div>
</div>

                </div>
            </div>
        
    </section>

